package com.cstp.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * @author watts
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("t_prize_his")
public class PrizeHis extends Model<PrizeHis> {

    @TableId(type = IdType.AUTO)
    private Long id;
    private Long prizeId;
    private String userId;
    private String uname;
    private String phone;
    private String idCard;
    private Integer state;
    private LocalDateTime createTime;
    private LocalDateTime useTime;

}
